package com.it.hanzhongtravelv1.repository;

import com.it.hanzhongtravelv1.entity.TravelRoute;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface TravelRouteRepository extends JpaRepository<TravelRoute, Long> {
    List<TravelRoute> findByDuration(String duration);
    List<TravelRoute> findByTheme(String theme);
    List<TravelRoute> findByNameContaining(String name);
} 